package com.dlc.shop.systemtest.api.amount;

import com.dlc.shop.bean.app.param.ChangeShopCartParam;
import com.dlc.shop.bean.vo.ShopCartWithAmountVO;
import com.dlc.shop.systemtest.constants.Constant;
import com.dlc.shop.systemtest.util.HttpUtil;

/**
 * @author lanhai
 */
public class ShopCartApi {
    public static  String changeItem (ChangeShopCartParam changeShopCartParam){
        String url = Constant.API_URL+"/p/shopCart/changeItem";
        return HttpUtil.post(url,changeShopCartParam,String.class,true);
    }

    public static ShopCartWithAmountVO info(){
        String url = Constant.API_URL+"/p/shopCart/info?addrId=0";
       return HttpUtil.post(url,null,ShopCartWithAmountVO.class,true);
    }
}
